home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 19 / Amiga Plus Leser CD 19.iso / Tools / Freeware / ttengine-5.0 / Developer / include / clib / ttengine_protos.h
Encoding:
C/C++ Source or Header  |  2002-11-13  |  1.5 KB  |  47 lines

  1. #ifndef CLIB_TTENGINE_PROTOS_H
  2. #define CLIB_TTENGINE_PROTOS_H
  3.  
  4.  
  5. /*
  6. **    $VER: ttengine_protos.h 5.0 (13.11.2002)
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    Copyright © 2002 
  11. **    All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  UTILITY_TAGITEM_H
  18. #include <utility/tagitem.h>
  19. #endif
  20. #ifndef  LIBRARIES_TTENGINE_H
  21. #include <libraries/ttengine.h>
  22. #endif
  23. #ifndef  GRAPHICS_TEXT_H
  24. #include <graphics/text.h>
  25. #endif
  26.  
  27. APTR TT_OpenFontA(struct TagItem * taglist);
  28. APTR TT_OpenFont(Tag taglist, ...);
  29. BOOL TT_SetFont(struct RastPort * rp, APTR font);
  30. VOID TT_CloseFont(APTR font);
  31. VOID TT_Text(struct RastPort * rp, APTR string, ULONG count);
  32. ULONG TT_SetAttrsA(struct RastPort * rp, struct TagItem * taglist);
  33. ULONG TT_SetAttrs(struct RastPort * rp, Tag taglist, ...);
  34. ULONG TT_GetAttrsA(struct RastPort * rp, struct TagItem * taglist);
  35. ULONG TT_GetAttrs(struct RastPort * rp, Tag taglist, ...);
  36. ULONG TT_TextLength(struct RastPort * rp, APTR string, ULONG count);
  37. VOID TT_TextExtent(struct RastPort * rp, APTR string, WORD count, struct TextExtent * te);
  38. ULONG TT_TextFit(struct RastPort * rp, APTR string, UWORD count, struct TextExtent * te,
  39.     struct TextExtent * tec, WORD dir, UWORD cwidth, UWORD cheight);
  40. struct TT_Pixmap * TT_GetPixmapA(APTR font, APTR string, ULONG count,
  41.     struct TagItem * taglist);
  42. struct TT_Pixmap * TT_GetPixmap(APTR font, APTR string, ULONG count, Tag taglist, ...);
  43. VOID TT_FreePixmap(struct TT_Pixmap * pixmap);
  44. VOID TT_DoneRastPort(struct RastPort * rp);
  45.  
  46. #endif    /*  CLIB_TTENGINE_PROTOS_H  */
  47.